projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368534a
)
(iswitchb-completions): Test that iswitchb-common-match-string is a
author
Stephen Eglen
<stephen@gnu.org>
Thu, 26 Sep 2002 15:50:59 +0000
(15:50 +0000)
committer
Stephen Eglen
<stephen@gnu.org>
Thu, 26 Sep 2002 15:50:59 +0000
(15:50 +0000)
string, before printing common completions.
lisp/iswitchb.el
patch
|
blob
|
history
diff --git
a/lisp/iswitchb.el
b/lisp/iswitchb.el
index 0b283d0ae779ca66dd8881dafe383efc5c20e80e..d24f737851b02750c0497b07e5ffcc854ce38c60 100644
(file)
--- a/
lisp/iswitchb.el
+++ b/
lisp/iswitchb.el
@@
-1260,7
+1260,8
@@
Modified from `icomplete-completions'."
;; put in common completion item -- what you get by
;; pressing tab
- (if (> (length iswitchb-common-match-string) (length name))
+ (if (and (stringp iswitchb-common-match-string)
+ (> (length iswitchb-common-match-string) (length name)))
(concat open-bracket-determined
(substring iswitchb-common-match-string
(length name))